const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjFhYTBjZDAwODMyZjQ2YjJhNGE5ZGI4ZjRjYWY1MGQzIiwidXNlcl9uYW1lIjoiMTY1ODEwNjQzNDMwNDM0MjMiLCJzY29wZSI6WyJyZWFkIl0sIm1vYmlsZSI6ZmFsc2UsImlzQWRtaW4iOnRydWUsImV4cCI6MTcyNjY1MTA5NCwiaXNBcHBBZG1pbiI6ZmFsc2UsImF1dGhvcml0aWVzIjpbIlVTRVIiLCJBVVRIX1NZU1RFTV9NQU5BR0UiXSwianRpIjoiYjdhZTMxNTYtOWE4Yy00N2FmLTg0YzMtNjUzYzBhMDg2MTQ2IiwiY2xpZW50X2lkIjoiYXBpIn0.AEGVQRpnGKgQsVc8K8iw6tEyeoLtClcgid2NobzzvEHjsKmPuteEY84iN0SGw1y1PnKAlnR6LosGTzF24_4tU2WXMI4at9YMvFIYbBKPuE4Hl9IPndEquomvBT-qank3ae39MJ-tURADoK_1nkqo230fx69niHrDkcCbiidngco'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
